Previous Book Contents Book Index Next

Inside Macintosh: Open Transport /


Chapter 7 - Process Management

This chapter describes how you can use Open Transport functions to handle system tasks and deferred tasks in existing System 7 code. You cannot call most Open Transport functions at interrupt time, so you need to ensure that your code makes such calls during system or deferred task time.

This chapter describes

To use this chapter, you need to be familiar with System 7 system tasks, deferred tasks, and interrupts in general. For information about system tasks, read the information about the SystemTask function in the chapter "Event Manager" in Inside Macintosh: Macintosh Toolbox Essentials, and for information about interrupts and deferred tasks, read the chapters "Introduction to Processes and Tasks" and "Deferred Task Manager" in Inside Macintosh: Processes.

This chapter begins with an introduction to Open Transport task processing. Then it discusses System 7 system tasks and deferred tasks in more detail and explains the process callback functions you use to create these tasks. Mac Os 8 task processing will be described in later documentation.


Chapter Contents
About Task Processing in Open Transport
Using Process Management Functions
Using System and Deferred Tasks
Entering and Leaving Interrupt Processing
Allocating and Freeing Raw Memory
Idling or Delaying Your Computer
Process Management Reference
Functions
Checking Synchronous Calls
Working With System Tasks
Working With Deferred Tasks
Entering and Leaving Interrupt Time
Allocating and Freeing Memory
Idling and Delaying Processing
Application-Defined Functions

Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 AUG 1996